package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxMpFuncInfo;
import com.danskin.wechat.entity.example.WxMpFuncInfoExample;

public interface WxMpFuncInfoDao {
	int countByExample(WxMpFuncInfoExample example);

	int deleteByExample(WxMpFuncInfoExample example);

	int deleteByPrimaryKey(Integer id);

	int deleteByMpId(@Param("mpId") int mpId);

	int insert(WxMpFuncInfo record);

	int insertSelective(WxMpFuncInfo record);

	List<WxMpFuncInfo> selectByExample(WxMpFuncInfoExample example);

	WxMpFuncInfo selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") WxMpFuncInfo record, @Param("example") WxMpFuncInfoExample example);

	int updateByExample(@Param("record") WxMpFuncInfo record, @Param("example") WxMpFuncInfoExample example);

	int updateByPrimaryKeySelective(WxMpFuncInfo record);

	int updateByPrimaryKey(WxMpFuncInfo record);

	void insertBatch(List<WxMpFuncInfo> list);
}